import api from './index'


export default {
	//购买普通商品
	buyPbGood: data => api.post(`/ax/axOrder/buyPbGood`, data),
	//购买津贴商品
	buyAllowanceGood: data => api.post("/ax/axOrder/buyAllowanceGood", data),
	//根据订单id查询订单
	getAxOrder: (id) => api.get(`/ax/axOrder/${id}`),
	//收货
	setAxOrder: data => api.post('/ax/axOrder/receiveGood', data),
	//会员列表
	getVip: data => api.get("/ax/AxMemberLevel/appAblelist", data),
	//购买会员
	buyVip: data => api.post("/ax/AxMemberOrder/buyCard", data),
}